home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000486_blitz-list-request_Mon Jul 18 11:32:17 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  3KB

  1. Received: from golden.ncw.net (golden.ncw.net [199.79.131.1]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id LAA01712 for <blitz-list@HELSINKI.FI>; Mon, 18 Jul 1994 11:31:47 +0300
  2. Received: by golden.ncw.net (Smail3.1.28.1 #9)
  3.     id m0qPnyb-0003I3C; Mon, 18 Jul 94 01:23 PDT
  4. Date: Mon, 18 Jul 1994 01:23:05 -700 (PDT)
  5. From: Joel Corn <darksoft@ncw.net>
  6. Subject: Re: A possible bug?
  7. To: "GEORGAKAKIS, LOUIS, MR" <BB4H@MUSICB.MCGILL.CA>
  8. cc: blitz-list@HELSINKI.FI
  9. In-Reply-To: <16JUL94.24140249.0085.MUSIC@MUSICB.MCGILL.CA>
  10. Message-ID: <Pine.3.89.9407180144.A16882-0100000@golden.ncw.net>
  11. MIME-Version: 1.0
  12. Content-Type: TEXT/PLAIN; charset=US-ASCII
  13. X-Status: 
  14. Status: RO
  15.  
  16. On Sat, 16 Jul 1994, GEORGAKAKIS,LOUIS,MR wrote:
  17.  
  18. > Hello all.  Can someone please tell me why this program isn't working?
  19. > BLITZ
  20. > QAMIGA
  21. > If ReadFile(0,"Ram:Test")
  22. >   FileInput 0
  23. >   Hello$ = Edit$(10)            ;A quick visit into AMIGA mode.
  24. >   CloseFile 0
  25. >   DefaultInput
  26. > EndIf
  27. > BLITZ
  28. > BitMap 0,320,200,5
  29. > Slice 0,44,320,200,$fff8,5,8,32,320,320
  30. > Use BitMap 0 : Show 0
  31. > BlitzKeys On
  32. > BitMapOutput 0
  33. > BitMapInput
  34. > While Joyb(0) = 0 : Print Inkey$ : Wend
  35.  
  36. try this:
  37.         BitMapOutput 0
  38.         BlitzKeys On
  39.         BitMapInput
  40.  
  41. Note the order in which this is done, as taken out of the manual. I 
  42. didn't bother to try it, since I work in Amiga mode exclusively, but 
  43. chances are if every example shows a certain sequence of events, they 
  44. shoudl probably be followed until you know you can break the rules and 
  45. get away with it! :)
  46.  
  47.  
  48. > As you guys can see, I turn Blitz mode on, then I take a quick
  49. > visit into QAMIGA and read a word from a file in Ram ("Hello!")
  50. > Then I go back into Blitz mode setting DefaultInput back on. Then
  51. > I set up a screen and a slice and prepared the bitmap to read and
  52. > write data to it using BitMapOutput and BitMapInput.  Then I go
  53. > into a loop reading data from the keyboard.  But I get an error:
  54. > "Can't input character from default input"
  55. > But how can that be?  I switched to BitmapInput!!!  If I completely
  56. > remove the QAMIGA routine, it works just fine!  So, what is going on?
  57. > Did I find a BUG????  Please HELP!  It will be impossible to make
  58. > any games or programs which require me to read a file in AMIGA mode
  59. > and then get input from a bitmap in BLITZ mode!  This is not very
  60. > productive!
  61. > Thanks to anyone for the HELP!  I NEED it!
  62. >                                   ^^^^
  63.  
  64. Not a problem, and not likely a bug, unless the example I gave doesn't work.
  65.  
  66. Joel
  67.  
  68.  
  69. *****************************************************************************
  70. * Joel A. Corn - Owner/Head Programmer              darksoft@golden.ncw.net *
  71. * DarkSoft Computers/DarkSoftWare                            1-509-886-0581 *
  72. *****************************************************************************
  73.